<template>
  <div class="about">
    <h1>This is an about page</h1>
    <button @click="addNum">点击增加</button>
    <input type="text" name="" id="" :value="num">
  </div>
</template>

<script>
export default {
  name: 'App',
  data(){
    return {
      home:"/home",
      num:1
    }
  },
  methods:{

    addNum(){
        this.num++;
    }
  }
}
</script>

